angular.module('myApp').component('handVCodeList',{
   templateUrl:'view/handVCodeList/handVCodeList.html',

   controller: function (sHandVCodeList) {
       var myList = this.lists=[];
        this.getHandVCodeList = function(){
           var handList = this.lists = [];
            sHandVCodeList.getHandVCodeList(0,10).then(function (res) {
               for(var i=0; i <  res.data.lists.length; i++)
                handList.push(res.data.lists[i]);
                  console.log(res.data.lists.a);
                  console.log(res.data.lists);
                  console.log(handList);
            });
        }
       this.getHandVCodeList();
   }
});